<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>    
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<title>Insert title here</title>
</head>
<body>

	<form>
		<table width="100%" border=1>
			<c:forEach items="${itemList}" var="items" >

			<tr>
				<td>商品名称</td>
				<td> ${items.name } </td>
			</tr>
			<tr>
				<td>商品价格</td>
				<td> ${items.price} </td>
			</tr>
			<tr>
				<td>生成日期</td>
				<td> <fmt:formatDate value="${items.createtime}" pattern="yyyy-MM-dd HH:mm:ss"/> </td>
			</tr>
			<tr>
				<td>商品简介</td>
				<td>${items.detail} </td>
			</tr>
			</c:forEach>
		</table>
	</form>
</body>
</html>